package com.ssky.bean.validator.core;

import com.ssky.bean.validator.core.exception.VldException;

import java.util.List;

public interface IValidator<F, B> {
    Integer DEFALUT_ERR_COUNT = Integer.valueOf(9999);

    String getId();

    List<F> validate(B javabean) throws VldException;

}